<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="format-detection" content="telephone=no" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="white" />
		<title>个人中心-修改登录密码</title>
		<link rel="stylesheet" href="../public/css/common.css">
		<link rel="stylesheet" href="../public/css/bootstrap.css">
		<link rel="stylesheet" href="../public/css/weui.css">
		<link rel="stylesheet" href="../public/css/jquery-weui.css">
		<link rel="stylesheet" href="css/edit-password.css">
		<script src="../public/js/font_size.js"></script>
		<script src="../public/js/jquery-2.1.4.js"></script>
		<script src="../public/js/template-web.js"></script>
		<script src="../public/js/jquery-weui.js"></script>
		<script src="../public/js/common.js"></script>
		<script src="js/edit-password.js"></script>
		<style>
			.weui-toast_content {
				margin-bottom: 0 !important;
			}
		</style>
	</head>

	<body>
		<div class="header container p-0">
			<div class="row pRegiterTop">
				<div class="col-auto d-flex justify-content-center align-items-center" onclick="history.back()">
					<img src="../public/images/left.png" class="mr-1"><span style="font-size:0.4rem;color:#fff">设置登录密码</span>
				</div>
			</div>
		</div>
		<div class="section container p-0">
			<div class="row justify-content-center" style="margin-top: 0.6rem;">
				<div class="col-auto d-flex justify-content-center align-items-center">
					<img src="../public/images/password.png" class="mr-1 img-size">
					<div class="regiter01 d-flex justify-content-between align-items-center">
						<input maxlength="16" id="agopasswd" type="password" placeholder="请输入原登录密码" style="width:4.24rem;">
						<img data-status="0" src="../public/images/show.png" class="img-size01">
					</div>
				</div>
			</div>
			<div class="row justify-content-center" style="margin-top: 0.6rem;">
				<div class="col-auto d-flex justify-content-center align-items-center">
					<img src="../public/images/password.png" class="mr-1 img-size">
					<div class="regiter01 d-flex justify-content-between align-items-center">
						<input maxlength="16" id="newpasswd" type="password" placeholder="请输入新登录密码" style="width:4.24rem;">
						<img data-status="0" src="../public/images/show.png" class="img-size01">
					</div>
				</div>
			</div>
			<div class="row justify-content-center" style="margin-top: 0.6rem;">
				<div class="col-auto d-flex justify-content-center align-items-center">
					<img src="../public/images/password.png" class="mr-1 img-size">
					<div class="regiter01 d-flex justify-content-between align-items-center">
						<input maxlength="16" id="againpasswd" type="password" placeholder="请再次输入新登录密码" style="width:4.24rem;">
						<img data-status="0" src="../public/images/show.png" class="img-size01">
					</div>
				</div>
			</div>
			<div class="row justify-content-center">
				<div class="col-auto loginBtn d-flex justify-content-center">
					<span class="align-self-center" onclick="doSendCodeByType()">下一步</span>
				</div>
			</div>
		</div>
	</body>
	<div id="send-code-popup" class="weui-popup__container">
		<div class="weui-popup__overlay"></div>
		<div id="send-code-box" class="weui-popup__modal">
			<script id="send-code-box-tpl" type="text/html">
				<div class="header container p-0">
					<div class="row pRegiterTop">
						<div class="col-auto d-flex justify-content-center align-items-center close-popup" data-target="#send-code-popup" onclick="">
							<img src="../public/images/left.png" class="mr-1">
							<span style="font-size:0.4rem;color:#fff">{{type=='tel'?'短信验证码':'邮箱验证码'}}</span>
						</div>
					</div>
				</div>
				<div class="section container p-0">
					<div class="row justify-content-center">
						<div class="col-auto">
							{{if type=='tel'}}
							已向您的尾号 <span>{{rs.tel|_pInfo.splitTel}}</span> 的手机发送验证码
							{{else if type=='email'}}
							已向您的邮箱账号 <span>{{rs.email}}</span> 发送验证码
							{{/if}}
						</div>
					</div>
					<div class="row mt-2 justify-content-center">
						<div class="col-auto d-flex justify-content-center">
							<input id="code" maxlength="4" type="text" placeholder="请输入验证码" class="p-0">
						</div>
					</div>
					<div class="row justify-content-center">
						<div class="col-auto loginBtn d-flex justify-content-center">
							<span class="align-self-center" onclick="doEditLoginPwd()">提交</span>
						</div>
					</div>
				</div>
			</script>
		</div>
	</div>

</html>